package com.njtoyo.taxi.admin.rest.export.driver;

import com.alibaba.excel.annotation.ExcelProperty;
import com.njtoyo.taxi.admin.mapper.master.enums.DriverRegistrationInfoSate;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "司机自主注册审核列表 导出模型")
public class DriverRegistrationInfoExportPresenter {
    @ExcelProperty(value = "ID")
    private Long id;

    @ExcelProperty(value = "所属公司地区")
    private String driverRegionName;

    @ExcelProperty(value = "所属公司")
    private String companyName;

    @ExcelProperty(value = "司机姓名")
    private String name;

    @ExcelProperty(value = "司机手机号")
    private String mobileNumber;

    @ExcelProperty(value = "车牌号")
    private String plateNumber;

    @ExcelProperty(value = "身份证号")
    private String identityNumber;

    @ExcelProperty(value = "状态", converter = DriverRegistrationInfoSateConverter.class)
    private DriverRegistrationInfoSate state;

    @ExcelProperty(value = "注册时间")
    private Date createdAt;

}
